using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace show
{
    public partial class frmShow : Form
    {
        public frmShow()
        {
            InitializeComponent();
            string[] args = Environment.GetCommandLineArgs();

            textBox1.Text = args[1];
            for (int i = 2; i < args.Length; ++i)
                textBox1.Text += " " + args[i];


            textBox1.SelectAll();
        }

        private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (e.KeyChar == 27)
                Close();
        }
    }
}